package com.dingpeikeji.quickdeer.modules.rentproduct.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dingpeikeji.quickdeer.core.common.persistence.Page;
import com.dingpeikeji.quickdeer.core.common.service.CrudService;
import com.dingpeikeji.quickdeer.modules.rentproduct.entity.TCargotypeForsale;
import com.dingpeikeji.quickdeer.modules.rentproduct.dao.TCargotypeForsaleDao;

/**
 * 可售数量维护Service
 * @author mash
 * @version 2017-01-23
 */
@Service
@Transactional(readOnly = true)
public class TCargotypeForsaleService extends CrudService<TCargotypeForsaleDao, TCargotypeForsale> {

	
	public TCargotypeForsale get(String id) {
		return super.get(id);
	}
	
	public List<TCargotypeForsale> findList(TCargotypeForsale tCargotypeForsale) {
		return super.findList(tCargotypeForsale);
	}
	
	public Page<TCargotypeForsale> findPage(Page<TCargotypeForsale> page, TCargotypeForsale tCargotypeForsale) {
		return super.findPage(page, tCargotypeForsale);
	}
	
	@Transactional(readOnly = false)
	public void save(TCargotypeForsale tCargotypeForsale) {
		super.save(tCargotypeForsale);
	}
	
	@Transactional(readOnly = false)
	public void delete(TCargotypeForsale tCargotypeForsale) {
		super.delete(tCargotypeForsale);
	}

}